package com.djl.sqtg.entity;

import com.baomidou.mybatisplus.annotations.TableField;

import java.util.List;

public class Goods {
    private Integer gid;
    private String goodsimg;
    private String goodstitle;
    private String goodsprice;
    private String currentprice;
    private Integer total;
    private Integer sold;
    private Integer gcid;
    private String goodsdesc;
    private String goodstime;
    private Integer goodsstate;
    private Integer newstate;
    private Integer hotstate;
    private Integer recomstate;
    private List<Category> categoryList;
//    @TableField(exist = false)
//    private String categoryname;

    @TableField(exist = false)
    private  List goodsPicList;

    public Integer getGoodsstate() {
        return goodsstate;
    }

    public void setGoodsstate(Integer goodsstate) {
        this.goodsstate = goodsstate;
    }

    public String getGoodstime() {
        return goodstime;
    }

    public void setGoodstime(String goodstime) {
        this.goodstime = goodstime;
    }

    public List getGoodsPicList() {
        return goodsPicList;
    }

    public void setGoodsPicList(List goodsPicList) {
        this.goodsPicList = goodsPicList;
    }

    public Integer getGid() {
        return gid;
    }

    public void setGid(Integer gid) {
        this.gid = gid;
    }

    public String getGoodsimg() {
        return goodsimg;
    }

    public void setGoodsimg(String goodsimg) {
        this.goodsimg = goodsimg;
    }

    public String getGoodstitle() {
        return goodstitle;
    }

    public void setGoodstitle(String goodstitle) {
        this.goodstitle = goodstitle;
    }

    public String getGoodsprice() {
        return goodsprice;
    }

    public void setGoodsprice(String goodsprice) {
        this.goodsprice = goodsprice;
    }

    public String getCurrentprice() {
        return currentprice;
    }

    public void setCurrentprice(String currentprice) {
        this.currentprice = currentprice;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public Integer getSold() {
        return sold;
    }

    public void setSold(Integer sold) {
        this.sold = sold;
    }

    public String getGoodsdesc() {
        return goodsdesc;
    }

    public void setGoodsdesc(String goodsdesc) {
        this.goodsdesc = goodsdesc;
    }

    public List<Category> getCategoryList() {
        return categoryList;
    }

    public void setCategoryList(List<Category> categoryList) {
        this.categoryList = categoryList;
    }

    public Integer getGcid() {
        return gcid;
    }

    public void setGcid(Integer gcid) {
        this.gcid = gcid;
    }

    public Integer getNewstate() {
        return newstate;
    }

    public void setNewstate(Integer newstate) {
        this.newstate = newstate;
    }

    public Integer getHotstate() {
        return hotstate;
    }

    public void setHotstate(Integer hotstate) {
        this.hotstate = hotstate;
    }

    public Integer getRecomstate() {
        return recomstate;
    }

    public void setRecomstate(Integer recomstate) {
        this.recomstate = recomstate;
    }

    @Override
    public String toString() {
        return "Goods{" +
                "gid=" + gid +
                ", goodsimg='" + goodsimg + '\'' +
                ", goodstitle='" + goodstitle + '\'' +
                ", goodsprice='" + goodsprice + '\'' +
                ", currentprice='" + currentprice + '\'' +
                ", total=" + total +
                ", sold=" + sold +
                ", gcid=" + gcid +
                ", goodsdesc='" + goodsdesc + '\'' +
                ", goodstime='" + goodstime + '\'' +
                ", goodsstate=" + goodsstate +
                ", newstate=" + newstate +
                ", hotstate=" + hotstate +
                ", recomstate=" + recomstate +
                ", categoryList=" + categoryList +
                ", goodsPicList=" + goodsPicList +
                '}';
    }
}
